Skip to content

fix: add missing type column to match_organizer region veto permissions#132

Merged
lukepolo merged 1 commit intomainfrom
fix/region-veto-match-organizer-type-permission
Mar 26, 2026
Merged

fix: add missing type column to match_organizer region veto permissions#132
lukepolo merged 1 commit intomainfrom
fix/region-veto-match-organizer-type-permission

Conversation

@Flegma
Copy link
Copy Markdown
Contributor

@Flegma Flegma commented Mar 26, 2026

Summary

  • The match_organizer role was missing the type column in its insert permissions for match_region_veto_picks, causing region bans to fail for captains with tournament organizer permissions
  • Error: field 'type' not found in type: 'match_region_veto_picks_insert_input'
  • The type column (NOT NULL, no default) was present for administrator and user roles but missing for match_organizer, which tournament_organizer inherits from

Test plan

  • Apply Hasura metadata
  • In a Custom match with region veto enabled, have a captain with tournament organizer permissions ban a region — should succeed without error

@Flegma Flegma requested a review from lukepolo March 26, 2026 09:54
@lukepolo lukepolo merged commit 4ea14ad into main Mar 26, 2026
1 check passed
@lukepolo lukepolo deleted the fix/region-veto-match-organizer-type-permission branch March 26, 2026 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants